//
//  MyCollectionViewCell.m
//  Today
//
//  Created by dllo on 15/5/23.
//  Copyright (c) 2015年 fanfan. All rights reserved.
//

#import "MyCollectionViewCell.h"

@implementation MyCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        [self createMyview];
    }
    return self;
}
- (void)createMyview{
    
    self.label = [[UILabel alloc] init];
    [self.contentView addSubview:self.label];
}
- (void)layoutSubviews{
    [super layoutSubviews];
    self.label.frame = CGRectMake(0, 0, self.contentView.frame.size.width, self.contentView.frame.size.height);
    self.label.textAlignment = NSTextAlignmentCenter;
    self.label.textColor = [UIColor blackColor];
    self.label.backgroundColor = [UIColor grayColor];
}

@end
